<% content_for :head_javascripts do %>
  <%= javascript_include_tag "concen/pages" %>
<% end %>

<div id="content">
  <h1>
    <span>Pages</span><% unless @page %><%= link_to "New Page", new_concen_page_path, :class => "link-button" %><% end %>
  </h1>
  <% if @page %>
    <%= render :partial => "nested_list", :locals => {:page => @page, :root => true} %>
  <% end %>
</div>
